package com.itheima.service.impl;

import com.itheima.service.AccountService;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

/**
 * @author cp
 * @className AccountServiceImpl
 * @description TODO
 * @create 2020/12/5 19:21
 **/

@Component("accountService")
@Scope("prototype")
//@Scope("singleton")
public class AccountServiceImpl implements AccountService{
    public void save() {
        System.out.println("save......");
    }
}
